LearnPress\Models\UserItems\UserCourseModel B

Total Complexity 80
Dependencies 13
Dependents 8
Total lines 636
Lines of code 371
Logical lines of code 244
Comment lines 166
Methods 22
Properties 4

Methods 22

Method Rating Maintainability Complexity Lines of code
calculate_course_results()
B
36 14 81
evaluate_course_by_question()
A
43 10 49
evaluate_course_by_final_quiz()
A
44 9 45
evaluate_course_by_mark()
S
56 6 17
evaluate_course_by_questions()
S
56 6 17
get_item_attend()
S
51 4 27
count_items_completed()
S
52 4 24
evaluate_course_by_quizzes_passed()
S
58 4 15
evaluate_course_by_lesson()
S
58 4 15
count_students()
S
55 3 20
get_last_user_course()
S
60 2 13
__construct()
S
72 2 6
has_enrolled_or_finished()
S
79 2 3
get_course_model()
S
71 2 6
is_finished()
S
80 1 3
get_graduation()
S
82 1 3
is_passed()
S
80 1 3
clean_caches()
S
67 1 8
has_finished()
S
80 1 3
has_purchased()
S
80 1 3
has_enrolled()
S
80 1 3
find()
S
69 1 7